﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Models
{
    [Serializable]
    public class JobHead
    {
        /// <summary>
        /// VARCHAR2(10)	部门编号
        /// </summary>
        [Required(ErrorMessage = "Company type is required.")]
        public string Company { get; set; }

        /// <summary>
        /// VARCHAR2(12)	产品品番
        /// </summary>
        public string JobNum { get; set; }
        /// <summary>
        /// VARCHAR2(12)	产品品番
        /// </summary>
        public string PartNum { get; set; }

        /// <summary>
        /// VARCHAR2(12)	产品品番
        /// </summary>
        public Int32 ProdQty { get; set; }

        /// <summary>
        /// VARCHAR2(12)	产品品番
        /// </summary>
        public string ProductionType_c { get; set; }
        /// <summary>
        /// VARCHAR2(10)	工程号
        /// </summary>
        public bool IsRework_c { get; set; }
        /// <summary>
        /// NUMBER          预计生产时间（天）
        /// </summary>
        /// 
        public string ReworkType_c { get; set; }
        public bool JobReleased { get; set; }

        public string Create_User { get; set; }

        public string Create_Time { get; set; }

        public string Modify_User { get; set; }

        public string Modify_Time { get; set; }

        public bool JobClosed { get; set; }
    }

}
